package inv.cal.logic;

import java.io.Serializable;
import java.text.SimpleDateFormat;
import java.util.Date;

public class Day implements Serializable{
	private static final long serialVersionUID = -2843209484756944316L;
	protected Date date;
	
	public Day() {
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}
	
	@Override
	public String toString() {
		return new SimpleDateFormat("dd").format(getDate());
	}
}
